
for ( i = 0; i < ds_grid_width( myGrid ); i += 1 )
{
    for ( j = 0; j < ds_grid_height( myGrid ); j += 1 )
    {
        draw_point_color( x + i, y + j, merge_color( c_white, c_black, ds_grid_get( myGrid, i, j )*0.5+0.5 ) );
    }
}
